package com.hxs.hxsserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hxs.hxsserver.domain.dto.IdDTO;
import com.hxs.hxsserver.domain.dto.device.*;

import java.util.List;

/**
 * @author liuchuan
 * @create 2024/9/27
 */
public interface FactorService {
    Boolean insertFactor(FactorDTO factorDTO);

    Boolean updateFactor(FactorDTO factorDTO);

    Boolean deleteFactor(IdDTO factorDTO);

    FactorDTO getFactorById(IdDTO factorDTO);

    IPage<FactorDTO> getFactorList(QueryFactorListDTO factorDTO);

    List<QueryFactorHisLastList> getFactorHisLastList(String deviceHardwareAddr);

    IPage<ReturnFactorHis> getFactorHisListByNodeno(QueryFactorHisDTO queryFactorHisDTO);
}
